package cj.web.sc.domain;
/*
 *  
 *  
*/
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import java.io.Serializable;

/**
 * TODO: add class/table comments
 */
public class SCCrowdFundOrderItems implements Serializable {

    protected Integer id;
	protected Integer orderId;
	protected Integer goodsItemId;
	protected String goodsItemName;
	protected String goodsItemImage;
	protected java.math.BigDecimal goodsItemPrice;
	protected String propValueNames;
	protected Integer count;
	protected Integer deleteFlag;
	protected String createUser;
	protected java.util.Date createAt;
	protected String updateUser;
	protected java.util.Date updateAt;


	/**
	 * Default Empty Constructor for class SCCrowdFundOrderItems
	 */
	public SCCrowdFundOrderItems () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class SCCrowdFundOrderItems
	 */
	public SCCrowdFundOrderItems (
		 Integer in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Integer
     * 
	 */
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Integer aValue) {
		this.id = aValue;
	}	

	/**
	 * 	 * @return Integer
	 * 
	 */
	public Integer getOrderId() {
		return this.orderId;
	}
	
	/**
	 * Set the orderId
	 */	
	public void setOrderId(Integer aValue) {
		this.orderId = aValue;
	}	

	/**
	 * 	 * @return Integer
	 * 
	 */
	public Integer getGoodsItemId() {
		return this.goodsItemId;
	}
	
	/**
	 * Set the goodsItemId
	 */	
	public void setGoodsItemId(Integer aValue) {
		this.goodsItemId = aValue;
	}	

	/**
	 * 详情名称	 * @return String
	 * 
	 */
	public String getGoodsItemName() {
		return this.goodsItemName;
	}
	
	/**
	 * Set the goodsItemName
	 */	
	public void setGoodsItemName(String aValue) {
		this.goodsItemName = aValue;
	}	

	/**
	 * 详情图片	 * @return String
	 * 
	 */
	public String getGoodsItemImage() {
		return this.goodsItemImage;
	}
	
	/**
	 * Set the goodsItemImage
	 */	
	public void setGoodsItemImage(String aValue) {
		this.goodsItemImage = aValue;
	}	

	/**
	 * 详情价格	 * @return java.math.BigDecimal
	 * 
	 */
	public java.math.BigDecimal getGoodsItemPrice() {
		return this.goodsItemPrice;
	}
	
	/**
	 * Set the goodsItemPrice
	 */	
	public void setGoodsItemPrice(java.math.BigDecimal aValue) {
		this.goodsItemPrice = aValue;
	}	

	/**
	 * 商品属性值名集合	 * @return String
	 * 
	 */
	public String getPropValueNames() {
		return this.propValueNames;
	}
	
	/**
	 * Set the propValueNames
	 */	
	public void setPropValueNames(String aValue) {
		this.propValueNames = aValue;
	}	

	/**
	 * 数量	 * @return Integer
	 * 
	 */
	public Integer getCount() {
		return this.count;
	}
	
	/**
	 * Set the count
	 */	
	public void setCount(Integer aValue) {
		this.count = aValue;
	}	

	/**
	 * 	 * @return Integer
	 * 
	 */
	public Integer getDeleteFlag() {
		return this.deleteFlag;
	}
	
	/**
	 * Set the deleteFlag
	 */	
	public void setDeleteFlag(Integer aValue) {
		this.deleteFlag = aValue;
	}	

	/**
	 * 创建人	 * @return String
	 * 
	 */
	public String getCreateUser() {
		return this.createUser;
	}
	
	/**
	 * Set the createUser
	 */	
	public void setCreateUser(String aValue) {
		this.createUser = aValue;
	}	

	/**
	 * 创建时间	 * @return java.util.Date
	 * 
	 */
	public java.util.Date getCreateAt() {
		return this.createAt;
	}
	
	/**
	 * Set the createAt
	 */	
	public void setCreateAt(java.util.Date aValue) {
		this.createAt = aValue;
	}	

	/**
	 * 修改人	 * @return String
	 * 
	 */
	public String getUpdateUser() {
		return this.updateUser;
	}
	
	/**
	 * Set the updateUser
	 */	
	public void setUpdateUser(String aValue) {
		this.updateUser = aValue;
	}	

	/**
	 * 修改时间	 * @return java.util.Date
	 * 
	 */
	public java.util.Date getUpdateAt() {
		return this.updateAt;
	}
	
	/**
	 * Set the updateAt
	 */	
	public void setUpdateAt(java.util.Date aValue) {
		this.updateAt = aValue;
	}	

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof SCCrowdFundOrderItems)) {
			return false;
		}
		SCCrowdFundOrderItems rhs = (SCCrowdFundOrderItems) object;
		return new EqualsBuilder()
				.append(this.id, rhs.id)
				.append(this.orderId, rhs.orderId)
				.append(this.goodsItemId, rhs.goodsItemId)
				.append(this.goodsItemName, rhs.goodsItemName)
				.append(this.goodsItemImage, rhs.goodsItemImage)
				.append(this.goodsItemPrice, rhs.goodsItemPrice)
				.append(this.propValueNames, rhs.propValueNames)
				.append(this.count, rhs.count)
				.append(this.deleteFlag, rhs.deleteFlag)
				.append(this.createUser, rhs.createUser)
				.append(this.createAt, rhs.createAt)
				.append(this.updateUser, rhs.updateUser)
				.append(this.updateAt, rhs.updateAt)
				.isEquals();
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return new HashCodeBuilder(-82280557, -700257973)
				.append(this.id) 
				.append(this.orderId) 
				.append(this.goodsItemId) 
				.append(this.goodsItemName) 
				.append(this.goodsItemImage) 
				.append(this.goodsItemPrice) 
				.append(this.propValueNames) 
				.append(this.count) 
				.append(this.deleteFlag) 
				.append(this.createUser) 
				.append(this.createAt) 
				.append(this.updateUser) 
				.append(this.updateAt) 
				.toHashCode();
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", this.id) 
				.append("orderId", this.orderId) 
				.append("goodsItemId", this.goodsItemId) 
				.append("goodsItemName", this.goodsItemName) 
				.append("goodsItemImage", this.goodsItemImage) 
				.append("goodsItemPrice", this.goodsItemPrice) 
				.append("propValueNames", this.propValueNames) 
				.append("count", this.count) 
				.append("deleteFlag", this.deleteFlag) 
				.append("createUser", this.createUser) 
				.append("createAt", this.createAt) 
				.append("updateUser", this.updateUser) 
				.append("updateAt", this.updateAt) 
				.toString();
	}



}
